Description:
LBNE detects situations where the repeat condition of a while or
for loop always evaluates to false.
The body of such a loop will never execute.
Incorrect:
int count(int limit) {
if (limit >= 0) {
...
} else {
for (int i = 0; i < limit; i++) {
...
}
}
}